Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.001371/0.001371, allocations: 77.7 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.001508/0.001508, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.472/1.472, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2202/0.2202, allocations: 34.25 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002733/0.002733, allocations: 79.88 kB / 443.1 MB, free: 6.492 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3497, allocations: 66.06 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002443/0.3521, allocations: 1.861 MB / 0.4991 GB, free: 28.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007793/0.3529, allocations: 0.5542 MB / 0.4996 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.912e-05/0.353, allocations: 0 / 0.4996 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.834e-05/0.353, allocations: 22.73 kB / 0.4996 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.3532, allocations: 36.86 kB / 0.4997 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.3534, allocations: 88.34 kB / 0.4998 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.3536, allocations: 152.8 kB / 0.4999 GB, free: 28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3537, allocations: 22.3 kB / 0.4999 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.3539, allocations: 81.94 kB / 0.5 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.945e-05/0.354, allocations: 64.17 kB / 0.5001 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.354, allocations: 9.562 kB / 0.5001 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.093e-05/0.354, allocations: 20.16 kB / 0.5001 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.3541, allocations: 30.11 kB / 0.5001 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.808e-05/0.3541, allocations: 50.83 kB / 0.5002 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.3543, allocations: 144.8 kB / 0.5003 GB, free: 27.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3543, allocations: 0 / 0.5003 GB, free: 27.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3543, allocations: 0 / 0.5003 GB, free: 27.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3543, allocations: 0 / 0.5003 GB, free: 27.82 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006248/0.3549, allocations: 379.2 kB / 0.5007 GB, free: 27.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.3549, allocations: 9.594 kB / 0.5007 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002774/0.3552, allocations: 45.88 kB / 0.5007 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.3553, allocations: 135.4 kB / 0.5009 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3553, allocations: 7.438 kB / 0.5009 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.3554, allocations: 3.719 kB / 0.5009 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.3556, allocations: 189.7 kB / 0.501 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3557, allocations: 0 / 0.501 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3557, allocations: 6.812 kB / 0.5011 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.3557, allocations: 3.219 kB / 0.5011 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.356, allocations: 95.33 kB / 0.5011 GB, free: 27.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006408/0.3566, allocations: 364.6 kB / 0.5015 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.3569, allocations: 93.12 kB / 0.5016 GB, free: 26.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.357, allocations: 41.39 kB / 0.5016 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.357, allocations: 3.062 kB / 0.5016 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.3571, allocations: 30.56 kB / 0.5017 GB, free: 26.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3571, allocations: 4 kB / 0.5017 GB, free: 26.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.001281/0.3583, allocations: 312.9 kB / 0.502 GB, free: 26.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.3584, allocations: 106 kB / 0.5021 GB, free: 26.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.25e-05/0.3585, allocations: 159.9 kB / 0.5022 GB, free: 26.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.3585, allocations: 29.64 kB / 0.5022 GB, free: 26.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.3585, allocations: 122.1 kB / 0.5024 GB, free: 26.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.3585, allocations: 18.42 kB / 0.5024 GB, free: 26.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/0.3586, allocations: 30.55 kB / 0.5024 GB, free: 26.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.168e-05/0.3586, allocations: 318.2 kB / 0.5027 GB, free: 25.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.3588, allocations: 57.38 kB / 0.5028 GB, free: 25.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.3591, allocations: 150.7 kB / 0.5029 GB, free: 25.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.3594, allocations: 128.4 kB / 0.503 GB, free: 25.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3594, allocations: 7.094 kB / 0.503 GB, free: 25.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004575/0.3599, allocations: 174.1 kB / 0.5032 GB, free: 25.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3599, allocations: 7.719 kB / 0.5032 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3599, allocations: 4.062 kB / 0.5032 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3599, allocations: 6.781 kB / 0.5032 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/0.3605, allocations: 82.3 kB / 0.5033 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009936/0.3615, allocations: 1.378 MB / 0.5046 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.3617, allocations: 34.81 kB / 0.5047 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.3617, allocations: 3.125 kB / 0.5047 GB, free: 24.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.816e-05/0.3618, allocations: 127.5 kB / 0.5048 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.3618, allocations: 11.14 kB / 0.5048 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004498/0.3623, allocations: 161.2 kB / 0.505 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3623, allocations: 2.781 kB / 0.505 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.71e-07/0.3623, allocations: 0 / 0.505 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3623, allocations: 0 / 0.505 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006344/0.3629, allocations: 389.8 kB / 0.5053 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3629, allocations: 3.219 kB / 0.5053 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.3631, allocations: 32.78 kB / 0.5054 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3631, allocations: 0 / 0.5054 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.609e-06/0.3631, allocations: 0 / 0.5054 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3631, allocations: 0 / 0.5054 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3631, allocations: 240 / 0.5054 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/0.3635, allocations: 265.3 kB / 0.5056 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.3635, allocations: 6.953 kB / 0.5056 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.3636, allocations: 11.45 kB / 0.5056 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.3638, allocations: 19.91 kB / 0.5057 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.3638, allocations: 7.594 kB / 0.5057 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.3638, allocations: 0 / 0.5057 GB, free: 23.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.206e-05/0.3639, allocations: 115.1 kB / 0.5058 GB, free: 23.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3639, allocations: 4 kB / 0.5058 GB, free: 23.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.3641, allocations: 35 kB / 0.5058 GB, free: 23.52 MB / 446.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 (7): * Single equations (assignments): 7 * 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 6.732e-05/0.3642, allocations: 95.19 kB / 0.5059 GB, free: 23.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008483/0.3651, allocations: 176.5 kB / 0.5061 GB, free: 23.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3651, allocations: 0 / 0.5061 GB, free: 23.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.3653, allocations: 61.97 kB / 0.5061 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.3656, allocations: 11.38 kB / 0.5061 GB, free: 23.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.3667, allocations: 385.1 kB / 0.5065 GB, free: 23.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.127e-05/0.3668, allocations: 93.27 kB / 0.5066 GB, free: 23.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.392e-05/0.3669, allocations: 17.08 kB / 0.5066 GB, free: 23.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.3669, allocations: 17.75 kB / 0.5066 GB, free: 23.09 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3669, allocations: 7.938 kB / 0.5066 GB, free: 23.08 MB / 446.1 MB Notification: Performance of Templates: time 0.004274/0.3712, allocations: 1.852 MB / 0.5085 GB, free: 22.82 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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: 5.033404562040232]