Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001826/0.001826, allocations: 114 kB / 21.18 MB, free: 0.7422 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.002197/0.002197, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.446/1.446, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2538/0.2538, allocations: 46.89 MB / 361.1 MB, free: 4.625 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 79.86 kB / 0.4968 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3164, allocations: 65.99 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003527/0.3199, allocations: 1.929 MB / 0.5631 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.321, allocations: 0.6048 MB / 0.5637 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.321, allocations: 0 / 0.5637 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.166e-05/0.3211, allocations: 15.8 kB / 0.5637 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.3213, allocations: 43.7 kB / 0.5637 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.3215, allocations: 87.14 kB / 0.5638 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.3217, allocations: 151.4 kB / 0.5639 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3218, allocations: 27.78 kB / 0.564 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.322, allocations: 75.75 kB / 0.564 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.3221, allocations: 63.7 kB / 0.5641 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.918e-05/0.3222, allocations: 12 kB / 0.5641 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.818e-05/0.3222, allocations: 27.98 kB / 0.5641 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.925e-05/0.3223, allocations: 27.91 kB / 0.5642 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.742e-05/0.3223, allocations: 59.72 kB / 0.5642 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.3225, allocations: 135.5 kB / 0.5644 GB, free: 1.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3226, allocations: 0 / 0.5644 GB, free: 1.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3226, allocations: 0 / 0.5644 GB, free: 1.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.3226, allocations: 0 / 0.5644 GB, free: 1.777 MB / 398.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.0008446/0.3234, allocations: 462.8 kB / 0.5648 GB, free: 1.277 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3234, allocations: 8.031 kB / 0.5648 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003109/0.3238, allocations: 44.8 kB / 0.5649 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.3239, allocations: 192.2 kB / 0.565 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.324, allocations: 8.375 kB / 0.565 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.324, allocations: 8.375 kB / 0.5651 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.3243, allocations: 138.7 kB / 0.5652 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.3243, allocations: 3.938 kB / 0.5652 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.3244, allocations: 7.938 kB / 0.5652 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3244, allocations: 4 kB / 0.5652 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000339/0.3247, allocations: 95.92 kB / 0.5653 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008408/0.3255, allocations: 455.4 kB / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.3258, allocations: 82.53 kB / 0.5658 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.326, allocations: 44.92 kB / 0.5658 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.326, allocations: 0 / 0.5658 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.326, allocations: 34.55 kB / 0.5659 GB, free: 44 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.326, allocations: 3.938 kB / 0.5659 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.001407/0.3274, allocations: 317.1 kB / 0.5662 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/0.3275, allocations: 106.8 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.3277, allocations: 153.5 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.3277, allocations: 25.7 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/0.3278, allocations: 116.2 kB / 0.5666 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.3278, allocations: 23.78 kB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.3279, allocations: 29.64 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.328, allocations: 326.8 kB / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.3282, allocations: 59.94 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.3285, allocations: 96.23 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/0.3289, allocations: 130.5 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3289, allocations: 3.984 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005206/0.3294, allocations: 173.5 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3295, allocations: 8.062 kB / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3295, allocations: 3.938 kB / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3295, allocations: 0 / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005712/0.33, allocations: 87.91 kB / 0.5675 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.3316, allocations: 1.505 MB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.3318, allocations: 19.97 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.3318, allocations: 11.98 kB / 0.569 GB, free: 12.63 MB / 414.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 0.0001144/0.3319, allocations: 125.7 kB / 0.5691 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.332, allocations: 7.953 kB / 0.5691 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005105/0.3325, allocations: 162.4 kB / 0.5693 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3325, allocations: 0 / 0.5693 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3325, allocations: 0 / 0.5693 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.3325, allocations: 92.98 kB / 0.5693 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.3326, allocations: 7.938 kB / 0.5693 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.3328, allocations: 24.16 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.3328, allocations: 4 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00061/0.3334, allocations: 260.7 kB / 0.5696 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005652/0.334, allocations: 330.9 kB / 0.5699 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002141/0.3342, allocations: 55.95 kB / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.337e-05/0.3343, allocations: 122.4 kB / 0.5701 GB, free: 11.41 MB / 414.1 MB Notification: Performance of Backend: time 4.3e-07/0.3343, allocations: 0 / 0.5701 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009609/0.3352, allocations: 198.2 kB / 0.5703 GB, free: 11.21 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007294/0.336, allocations: 0.6656 MB / 0.5709 GB, free: 10.5 MB / 414.1 MB Notification: Performance of Templates: time 0.004929/0.3409, allocations: 1.975 MB / 0.5729 GB, free: 8.527 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 4.926937907934189]