Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 82.41 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 156.8 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 177.1 MB / 204.7 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 62.52 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09182/0.09377, allocations: 53.4 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006297/0.1001, allocations: 4.561 MB / 383.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003063/0.1031, allocations: 1.729 MB / 385.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002231/0.1033, allocations: 16 kB / 385.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002694/0.106, allocations: 1.136 MB / 386.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.1075, allocations: 0.6098 MB / 387 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.1088, allocations: 0.5807 MB / 387.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009376/0.1098, allocations: 0.7622 MB / 388.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008021/0.1106, allocations: 0.5043 MB / 388.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004463/0.111, allocations: 354.6 kB / 389.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004908/0.1115, allocations: 370.3 kB / 389.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.1116, allocations: 64 kB / 389.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005191/0.1121, allocations: 251.8 kB / 389.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.1123, allocations: 163.4 kB / 390 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.1126, allocations: 306.5 kB / 390.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.1138, allocations: 1.035 MB / 391.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1138, allocations: 0 / 391.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1138, allocations: 0 / 391.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.1139, allocations: 0 / 391.3 MB, free: 3.012 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.00396/0.1178, allocations: 1.323 MB / 392.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1179, allocations: 15.98 kB / 392.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006093/0.1239, allocations: 0.7887 MB / 393.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008432/0.1248, allocations: 350 kB / 393.8 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.305e-05/0.1249, allocations: 62.38 kB / 393.9 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.125, allocations: 84.06 kB / 394 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.1266, allocations: 0.8228 MB / 394.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.1266, allocations: 3.953 kB / 394.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-05/0.1267, allocations: 39.94 kB / 394.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.1267, allocations: 20 kB / 394.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.1284, allocations: 0.8901 MB / 395.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004013/0.1324, allocations: 2.204 MB / 397.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.1343, allocations: 0.7687 MB / 398.7 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005326/0.1348, allocations: 291.1 kB / 399 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.1349, allocations: 28.64 kB / 399 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.1349, allocations: 47.14 kB / 399.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.584e-06/0.1349, allocations: 4 kB / 399.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003714/0.1387, allocations: 1.252 MB / 400.3 MB, free: 9.855 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.1387, allocations: 60.06 kB / 400.4 MB, free: 9.785 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.139, allocations: 249.8 kB / 400.6 MB, free: 9.527 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.137e-05/0.1391, allocations: 37.7 kB / 400.7 MB, free: 9.484 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.1393, allocations: 300.6 kB / 400.9 MB, free: 9.184 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.1395, allocations: 265.7 kB / 401.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.1397, allocations: 130.6 kB / 401.3 MB, free: 8.789 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.1399, allocations: 350.7 kB / 401.7 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004907/0.1404, allocations: 241.8 kB / 401.9 MB, free: 8.203 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/0.141, allocations: 358.5 kB / 402.3 MB, free: 7.812 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.1421, allocations: 0.6337 MB / 402.9 MB, free: 7.137 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1421, allocations: 0 / 402.9 MB, free: 7.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001839/0.144, allocations: 0.8609 MB / 403.8 MB, free: 6.266 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.144, allocations: 8 kB / 403.8 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.144, allocations: 4 kB / 403.8 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008102/0.1448, allocations: 215.5 kB / 404 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/0.1454, allocations: 127.8 kB / 404.1 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00354/0.1489, allocations: 2.536 MB / 406.6 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.1493, allocations: 71.55 kB / 406.7 MB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/0.1494, allocations: 28 kB / 406.7 MB, free: 3.188 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002986/0.1497, allocations: 201.6 kB / 406.9 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.42e-05/0.1498, allocations: 39.77 kB / 407 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/0.1518, allocations: 0.8936 MB / 407.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.1518, allocations: 11.94 kB / 407.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-06/0.1518, allocations: 4 kB / 407.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.1518, allocations: 7.922 kB / 407.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/0.1545, allocations: 1.481 MB / 409.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1545, allocations: 0 / 409.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/0.155, allocations: 107.9 kB / 409.5 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007101/0.1558, allocations: 204.7 kB / 409.7 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-05/0.1558, allocations: 16 kB / 409.7 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003419/0.1592, allocations: 2.539 MB / 412.2 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1592, allocations: 0 / 412.2 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.1616, allocations: 1.254 MB / 413.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.1617, allocations: 51.56 kB / 413.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.633e-05/0.1618, allocations: 12 kB / 413.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/0.1621, allocations: 27.98 kB / 413.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.1622, allocations: 60.47 kB / 413.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.1623, allocations: 28.16 kB / 413.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.1625, allocations: 177.2 kB / 413.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1625, allocations: 0 / 413.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007779/0.1633, allocations: 243.5 kB / 414.1 MB, free: 11.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002508/0.1635, allocations: 147 kB / 414.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.1651, allocations: 0.8163 MB / 415 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1651, allocations: 0 / 415 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008991/0.166, allocations: 0.5144 MB / 415.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.1664, allocations: 48.48 kB / 415.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.1684, allocations: 1.172 MB / 416.8 MB, free: 8.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.1687, allocations: 294.8 kB / 417.1 MB, free: 8.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002702/0.169, allocations: 72.38 kB / 417.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.1691, allocations: 52.48 kB / 417.2 MB, free: 8.465 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1691, allocations: 3.938 kB / 417.2 MB, free: 8.461 MB / 382.1 MB Notification: Performance of Templates: time 0.0149/0.184, allocations: 7.342 MB / 424.5 MB, free: 1.188 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.681301385979168]