Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001888/0.001888, allocations: 74.42 kB / 21.24 MB, free: 0.5547 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.001468/0.001468, allocations: 159.7 kB / 24.5 MB, free: 3.715 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.442/1.442, allocations: 177.2 MB / 204.9 MB, free: 9 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.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 59.8 kB / 325.6 MB, free: 248 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08425/0.08584, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004011/0.08985, allocations: 2.648 MB / 381.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.09109, allocations: 0.7478 MB / 382.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.09121, allocations: 7.938 kB / 382.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.09142, allocations: 63.38 kB / 382.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.09167, allocations: 103.2 kB / 382.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.09194, allocations: 111.8 kB / 382.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.09234, allocations: 382.5 kB / 383 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.09253, allocations: 99.27 kB / 383 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002767/0.09281, allocations: 159.4 kB / 383.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.09302, allocations: 155.1 kB / 383.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.254e-05/0.09308, allocations: 32 kB / 383.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.836e-05/0.09314, allocations: 32 kB / 383.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.143e-05/0.09321, allocations: 75.73 kB / 383.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.09336, allocations: 147.3 kB / 383.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004114/0.09377, allocations: 398.3 kB / 384 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.09378, allocations: 0 / 384 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.09378, allocations: 0 / 384 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.09378, allocations: 0 / 384 MB, free: 10.5 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.001135/0.09492, allocations: 0.5792 MB / 384.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.09495, allocations: 8.031 kB / 384.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/0.09502, allocations: 40.7 kB / 384.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.09536, allocations: 218.8 kB / 384.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/0.0954, allocations: 25.03 kB / 384.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/0.09546, allocations: 36.38 kB / 384.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005985/0.09606, allocations: 294.3 kB / 385.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.09607, allocations: 0 / 385.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.0961, allocations: 12 kB / 385.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.09611, allocations: 8 kB / 385.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000646/0.09675, allocations: 254.4 kB / 385.5 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.09834, allocations: 0.8752 MB / 386.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.09873, allocations: 149.4 kB / 386.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.09892, allocations: 60.83 kB / 386.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.09894, allocations: 7.938 kB / 386.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.09897, allocations: 34.56 kB / 386.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.09898, allocations: 4 kB / 386.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00209/0.1011, allocations: 0.5975 MB / 387.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.1011, allocations: 55.39 kB / 387.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.1014, allocations: 269.8 kB / 387.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1014, allocations: 33.7 kB / 387.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.1016, allocations: 228.1 kB / 387.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.539e-05/0.1016, allocations: 91.19 kB / 387.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.1017, allocations: 65.44 kB / 387.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1019, allocations: 342.8 kB / 388.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/0.1022, allocations: 87.94 kB / 388.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.1025, allocations: 192.3 kB / 388.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006653/0.1032, allocations: 301.1 kB / 388.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1032, allocations: 0 / 388.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009007/0.1041, allocations: 397 kB / 389.2 MB, free: 4.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1041, allocations: 4 kB / 389.2 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1041, allocations: 4 kB / 389.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.1044, allocations: 65.97 kB / 389.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.1047, allocations: 71.89 kB / 389.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.1068, allocations: 2.592 MB / 392 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.1071, allocations: 19.98 kB / 392 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.1071, allocations: 20 kB / 392 MB, free: 2.012 MB / 350.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 (37): * Single equations (assignments): 35 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.1072, allocations: 150.4 kB / 392.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/0.1073, allocations: 31.75 kB / 392.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.548e-05/0.1074, allocations: 30.27 kB / 392.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1074, allocations: 4 kB / 392.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1074, allocations: 4.062 kB / 392.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1074, allocations: 144 / 392.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.1077, allocations: 229.2 kB / 392.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1077, allocations: 7.922 kB / 392.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.1079, allocations: 43.89 kB / 392.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001492/0.108, allocations: 49.69 kB / 392.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1081, allocations: 8 kB / 392.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/0.1101, allocations: 2.569 MB / 395.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1101, allocations: 0 / 395.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007498/0.1108, allocations: 381 kB / 395.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/0.1109, allocations: 19.81 kB / 395.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.1109, allocations: 8 kB / 395.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.1111, allocations: 15.98 kB / 395.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.1112, allocations: 23.95 kB / 395.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.1112, allocations: 11.94 kB / 395.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.1114, allocations: 177.2 kB / 395.7 MB, free: 14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1114, allocations: 4 kB / 395.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000394/0.1118, allocations: 72 kB / 395.8 MB, free: 13.92 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (18): * Single equations (assignments): 16 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001007/0.1119, allocations: 107.2 kB / 395.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009339/0.1128, allocations: 461.1 kB / 396.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1128, allocations: 0 / 396.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005348/0.1133, allocations: 345.2 kB / 396.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.1136, allocations: 36.42 kB / 396.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009916/0.1146, allocations: 0.542 MB / 397.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.1148, allocations: 176.8 kB / 397.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.1149, allocations: 22.33 kB / 397.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.115, allocations: 24.5 kB / 397.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.115, allocations: 0 / 397.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of Templates: time 0.006835/0.1218, allocations: 2.767 MB / 400.3 MB, free: 9.395 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.310049191932194]