Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 112.8 kB / 19.16 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 209.6 kB / 22.12 MB, free: 0.9453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 207.6 MB / 232.5 MB, free: 3.93 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 55.92 kB / 343 MB, free: 9.961 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08869/0.09056, allocations: 49.12 MB / 392.1 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.006385/0.09694, allocations: 4.058 MB / 396.2 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.09897, allocations: 0.9314 MB / 397.1 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004958/0.09947, allocations: 8 kB / 397.1 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.09981, allocations: 91.08 kB / 397.2 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005692/0.1004, allocations: 190.4 kB / 397.4 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.1008, allocations: 139.8 kB / 397.6 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009153/0.1017, allocations: 0.6692 MB / 398.2 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002944/0.102, allocations: 159 kB / 398.4 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004231/0.1024, allocations: 267 kB / 398.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/0.1029, allocations: 294.6 kB / 398.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.863e-05/0.103, allocations: 60 kB / 399 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.934e-05/0.1031, allocations: 56 kB / 399 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.1032, allocations: 123.5 kB / 399.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003131/0.1035, allocations: 302.5 kB / 399.5 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007081/0.1042, allocations: 0.6418 MB / 400.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1042, allocations: 0 / 400.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1042, allocations: 0 / 400.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.1042, allocations: 0 / 400.1 MB, free: 0.6797 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001512/0.1057, allocations: 0.88 MB / 401 MB, free: 15.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1058, allocations: 15.97 kB / 401 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.973e-05/0.1058, allocations: 21.48 kB / 401 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001553/0.106, allocations: 115.9 kB / 401.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.1061, allocations: 72.52 kB / 401.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000579/0.1067, allocations: 379.9 kB / 401.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.1067, allocations: 45.69 kB / 401.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.517e-05/0.1068, allocations: 52.38 kB / 401.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000907/0.1077, allocations: 0.5267 MB / 402.2 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.1077, allocations: 3.953 kB / 402.2 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.953e-05/0.1078, allocations: 24 kB / 402.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.1078, allocations: 19.94 kB / 402.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006949/0.1085, allocations: 368.6 kB / 402.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.1114, allocations: 1.778 MB / 404.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/0.1119, allocations: 309.1 kB / 404.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.1122, allocations: 177.6 kB / 404.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.1123, allocations: 4.375 kB / 404.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.1123, allocations: 42.5 kB / 404.9 MB, free: 11.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 1.653e-06/0.1123, allocations: 0 / 404.9 MB, free: 11.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=60): time 0.004115/0.1164, allocations: 1.915 MB / 406.8 MB, free: 9.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.1165, allocations: 89.05 kB / 406.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.1169, allocations: 373.7 kB / 407.3 MB, free: 9.113 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.117, allocations: 37.7 kB / 407.3 MB, free: 9.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.1172, allocations: 304.8 kB / 407.6 MB, free: 8.766 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.1174, allocations: 214.1 kB / 407.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.1176, allocations: 106.3 kB / 407.9 MB, free: 8.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1178, allocations: 358.8 kB / 408.3 MB, free: 8.086 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.1181, allocations: 157.2 kB / 408.4 MB, free: 7.934 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.1185, allocations: 269 kB / 408.7 MB, free: 7.633 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007842/0.1193, allocations: 451.5 kB / 409.1 MB, free: 7.156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1193, allocations: 7.938 kB / 409.1 MB, free: 7.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001135/0.1204, allocations: 0.605 MB / 409.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1205, allocations: 7.906 kB / 409.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1205, allocations: 7.984 kB / 409.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000323/0.1208, allocations: 73.66 kB / 409.8 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/0.1213, allocations: 139.8 kB / 410 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0028/0.1241, allocations: 3.1 MB / 413.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.1244, allocations: 20 kB / 413.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.1245, allocations: 23.98 kB / 413.1 MB, free: 2.879 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002357/0.1247, allocations: 189.7 kB / 413.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.1248, allocations: 51.67 kB / 413.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.1249, allocations: 56.25 kB / 413.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.1249, allocations: 15.92 kB / 413.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.1249, allocations: 192 / 413.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.1249, allocations: 11.98 kB / 413.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/0.127, allocations: 1.282 MB / 414.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.127, allocations: 0 / 414.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004267/0.1275, allocations: 103.9 kB / 414.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002742/0.1277, allocations: 77.59 kB / 414.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.1278, allocations: 12 kB / 414.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00269/0.1305, allocations: 3.088 MB / 418 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.1305, allocations: 4.031 kB / 418 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.1319, allocations: 0.8721 MB / 418.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.1321, allocations: 128.8 kB / 419 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.1321, allocations: 8.094 kB / 419 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/0.1325, allocations: 43.97 kB / 419 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.1326, allocations: 43.88 kB / 419.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.1327, allocations: 23.92 kB / 419.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000316/0.133, allocations: 267.2 kB / 419.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.133, allocations: 0 / 419.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000658/0.1336, allocations: 144 kB / 419.5 MB, free: 12.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 ($outputAlias_i2I,$outputAlias_i1B,$outputAlias_i2B) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001827/0.1355, allocations: 1.44 MB / 420.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.1368, allocations: 0.6609 MB / 421.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1368, allocations: 3.938 kB / 421.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007307/0.1375, allocations: 461.7 kB / 422.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/0.138, allocations: 69.47 kB / 422.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007122/0.1452, allocations: 4.83 MB / 426.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/0.1457, allocations: 0.8682 MB / 427.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000225/0.1459, allocations: 56.58 kB / 427.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.1462, allocations: 199.4 kB / 428.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1462, allocations: 0 / 428.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05421/0.2004, allocations: 10.43 MB / 438.5 MB, free: 8.711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.71, allocations: 16.75 kB / 438.5 MB, free: 8.695 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 18.40227787499316]