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.001537/0.001537, allocations: 111.6 kB / 18.45 MB, free: 4.59 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.00147/0.00147, allocations: 215.2 kB / 21.42 MB, free: 1.629 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.563/1.563, allocations: 207.6 MB / 231.8 MB, free: 4.207 MB / 174.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",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.001834/0.001834, allocations: 51.92 kB / 342.3 MB, free: 9.973 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.116, allocations: 49.12 MB / 391.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.00555/0.1215, allocations: 4.053 MB / 395.5 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.1235, allocations: 0.9236 MB / 396.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002443/0.1237, allocations: 11.94 kB / 396.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.124, allocations: 95.06 kB / 396.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004149/0.1244, allocations: 194.4 kB / 396.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.1248, allocations: 139.7 kB / 396.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007717/0.1256, allocations: 0.6731 MB / 397.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003164/0.1259, allocations: 151 kB / 397.7 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003288/0.1262, allocations: 267 kB / 397.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003599/0.1266, allocations: 298.6 kB / 398.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.984e-05/0.1267, allocations: 56 kB / 398.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.108e-05/0.1268, allocations: 52 kB / 398.3 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.1269, allocations: 127.5 kB / 398.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003102/0.1272, allocations: 302.4 kB / 398.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007623/0.128, allocations: 0.6379 MB / 399.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.128, allocations: 4 kB / 399.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.128, allocations: 3.938 kB / 399.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.128, allocations: 0 / 399.4 MB, free: 0.6914 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.001735/0.1297, allocations: 0.88 MB / 400.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.1298, allocations: 12.03 kB / 400.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.1299, allocations: 111.9 kB / 400.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.13, allocations: 68.56 kB / 400.5 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006033/0.1306, allocations: 371.9 kB / 400.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/0.1307, allocations: 41.69 kB / 400.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.382e-05/0.1308, allocations: 48.38 kB / 400.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009574/0.1317, allocations: 0.5034 MB / 401.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1317, allocations: 0 / 401.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.1318, allocations: 27.94 kB / 401.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.1318, allocations: 12 kB / 401.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007055/0.1325, allocations: 340.7 kB / 401.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003015/0.1355, allocations: 1.718 MB / 403.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004905/0.136, allocations: 245.1 kB / 403.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.1363, allocations: 137.7 kB / 403.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.1363, allocations: 7.984 kB / 403.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.1363, allocations: 42.5 kB / 403.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.804e-06/0.1363, allocations: 0 / 403.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002194/0.1385, allocations: 0.9641 MB / 404.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.1386, allocations: 85.05 kB / 405 MB, free: 10.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/0.1391, allocations: 389.6 kB / 405.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.1391, allocations: 33.7 kB / 405.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.1393, allocations: 296.1 kB / 405.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.532e-05/0.1394, allocations: 123 kB / 405.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.1395, allocations: 82.08 kB / 405.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1397, allocations: 346.8 kB / 406.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.1399, allocations: 104.8 kB / 406.3 MB, free: 9.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/0.1403, allocations: 202.5 kB / 406.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005238/0.1408, allocations: 305.9 kB / 406.8 MB, free: 8.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1408, allocations: 0 / 406.8 MB, free: 8.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009061/0.1417, allocations: 450.5 kB / 407.3 MB, free: 8.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1417, allocations: 4 kB / 407.3 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.1417, allocations: 4 kB / 407.3 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003697/0.1421, allocations: 85.91 kB / 407.3 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.1424, allocations: 75.89 kB / 407.4 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/0.1455, allocations: 3.131 MB / 410.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.1458, allocations: 16 kB / 410.6 MB, free: 4.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.1459, allocations: 16 kB / 410.6 MB, free: 4.75 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 (45): * Single equations (assignments): 43 * 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.0003071/0.1462, allocations: 165.7 kB / 410.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.1463, allocations: 51.64 kB / 410.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.566e-05/0.1464, allocations: 39.47 kB / 410.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1464, allocations: 4 kB / 410.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.1464, allocations: 8.062 kB / 410.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1464, allocations: 3.984 kB / 410.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.148, allocations: 0.9455 MB / 411.8 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.148, allocations: 0 / 411.8 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.1483, allocations: 47.92 kB / 411.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003246/0.1486, allocations: 77.64 kB / 411.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.1486, allocations: 11.92 kB / 411.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003134/0.1517, allocations: 3.135 MB / 415.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1517, allocations: 0 / 415.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.1529, allocations: 0.6137 MB / 415.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.1531, allocations: 120.9 kB / 415.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.6e-05/0.1532, allocations: 11.98 kB / 415.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.1535, allocations: 23.98 kB / 415.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.373e-05/0.1536, allocations: 23.97 kB / 415.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.1536, allocations: 19.92 kB / 415.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003411/0.154, allocations: 267.2 kB / 416.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.154, allocations: 0 / 416.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006275/0.1546, allocations: 120 kB / 416.3 MB, free: 14.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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.001371/0.156, allocations: 1.178 MB / 417.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.1571, allocations: 0.4934 MB / 417.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1571, allocations: 0 / 417.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006923/0.1578, allocations: 385.7 kB / 418.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/0.1584, allocations: 61.72 kB / 418.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006764/0.1651, allocations: 4.195 MB / 422.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006697/0.1658, allocations: 0.8392 MB / 423.4 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000248/0.1661, allocations: 47.22 kB / 423.4 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.1663, allocations: 179.3 kB / 423.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1663, allocations: 0 / 423.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04796/0.2143, allocations: 9.06 MB / 432.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.04, allocations: 11.92 kB / 432.7 MB, free: 13.91 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable basicTransformer.i1 in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable basicTransformer.i1 from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! Error: Could not read variable basicTransformer.i2 in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable basicTransformer.i2 from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! Error: Could not read variable inductor22.i in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable inductor22.i from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.439584242994897]