Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.001829/0.001829, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.002368/0.002368, allocations: 164.5 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 177.2 MB / 204.9 MB, free: 9.047 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 55.06 kB / 325.6 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1042, allocations: 53.34 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004463/0.1086, allocations: 2.702 MB / 381.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1102, allocations: 0.6816 MB / 382.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002503/0.1104, allocations: 7.938 kB / 382.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.1106, allocations: 67.36 kB / 382.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.1109, allocations: 87.19 kB / 382.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.1112, allocations: 91.83 kB / 382.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005098/0.1117, allocations: 378.3 kB / 382.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.112, allocations: 109.8 kB / 383 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/0.1123, allocations: 155.5 kB / 383.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.1126, allocations: 139.3 kB / 383.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.121e-05/0.1126, allocations: 36 kB / 383.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.508e-05/0.1127, allocations: 28 kB / 383.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.256e-05/0.1128, allocations: 71.77 kB / 383.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.1129, allocations: 135.4 kB / 383.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004788/0.1134, allocations: 382.4 kB / 383.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1134, allocations: 0 / 383.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1134, allocations: 3.938 kB / 383.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.1134, allocations: 0 / 383.9 MB, free: 10.61 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001065/0.1145, allocations: 0.5404 MB / 384.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1145, allocations: 12.03 kB / 384.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.997e-05/0.1146, allocations: 40.69 kB / 384.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.115, allocations: 210 kB / 384.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.115, allocations: 21.03 kB / 384.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-05/0.1151, allocations: 32.38 kB / 384.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005967/0.1157, allocations: 329.8 kB / 385.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1157, allocations: 4 kB / 385.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.1157, allocations: 12 kB / 385.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.1158, allocations: 8 kB / 385.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000483/0.1162, allocations: 202.5 kB / 385.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.1177, allocations: 0.8134 MB / 386.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.1181, allocations: 150.6 kB / 386.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.1183, allocations: 68.83 kB / 386.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.1183, allocations: 11.92 kB / 386.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.1183, allocations: 34.56 kB / 386.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.1183, allocations: 0 / 386.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005915/0.1189, allocations: 213.7 kB / 386.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.119, allocations: 51.41 kB / 386.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.1192, allocations: 184.8 kB / 386.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.1192, allocations: 33.64 kB / 386.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.1193, allocations: 200.2 kB / 387.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.072e-05/0.1194, allocations: 67.42 kB / 387.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.582e-05/0.1195, allocations: 49.7 kB / 387.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1197, allocations: 326.8 kB / 387.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.1198, allocations: 67.95 kB / 387.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.1201, allocations: 117.9 kB / 387.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.1204, allocations: 193.8 kB / 387.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1204, allocations: 0 / 387.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005084/0.1209, allocations: 241.2 kB / 388.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.121, allocations: 8 kB / 388.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.121, allocations: 0 / 388.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.121, allocations: 4 kB / 388.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.1213, allocations: 64.03 kB / 388.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.1213, allocations: 7.984 kB / 388.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.1214, allocations: 23.83 kB / 388.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.1215, allocations: 8 kB / 388.2 MB, free: 6.066 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.1216, allocations: 133.8 kB / 388.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/0.1217, allocations: 27.83 kB / 388.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/0.1221, allocations: 187.3 kB / 388.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1221, allocations: 0 / 388.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1221, allocations: 4 kB / 388.6 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1221, allocations: 7.984 kB / 388.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.1224, allocations: 213.1 kB / 388.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1224, allocations: 0 / 388.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.1227, allocations: 51.91 kB / 388.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-06/0.1227, allocations: 11.92 kB / 388.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.1227, allocations: 0 / 388.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1227, allocations: 3.938 kB / 388.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1227, allocations: 4 kB / 388.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006245/0.1233, allocations: 343.9 kB / 389.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.1234, allocations: 27.73 kB / 389.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.1234, allocations: 4.062 kB / 389.2 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.1236, allocations: 16.11 kB / 389.2 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.1236, allocations: 19.97 kB / 389.3 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.1237, allocations: 4 kB / 389.3 MB, free: 4.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.1238, allocations: 143.4 kB / 389.4 MB, free: 4.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1238, allocations: 0 / 389.4 MB, free: 4.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000335/0.1241, allocations: 75.78 kB / 389.5 MB, free: 4.754 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.v) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001183/0.1242, allocations: 103.2 kB / 389.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00042/0.1247, allocations: 154.7 kB / 389.7 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1247, allocations: 4 kB / 389.7 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.1248, allocations: 75.83 kB / 389.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.1251, allocations: 23.38 kB / 389.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.1266, allocations: 0.8278 MB / 390.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.1268, allocations: 159.4 kB / 390.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.965e-05/0.1268, allocations: 21.64 kB / 390.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.775e-05/0.1269, allocations: 20.48 kB / 390.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1269, allocations: 0 / 390.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of Templates: time 0.005693/0.1326, allocations: 1.776 MB / 392.6 MB, free: 1.574 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.463874212000519]