Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009208/0.0009208, allocations: 184.3 kB / 7.798 MB, free: 2.277 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.025/1.025, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007919/0.0007919, allocations: 87.44 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1513/0.1513, allocations: 43.49 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.039e-06/5.059e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2035, allocations: 58.84 MB / 476.5 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09637/0.2999, allocations: 86.26 MB / 0.5496 GB, free: 12.69 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001802/0.3001, allocations: 63.97 kB / 0.5497 GB, free: 12.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009797/0.3099, allocations: 3.577 MB / 0.5532 GB, free: 9.031 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.31, allocations: 8 kB / 0.5532 GB, free: 9.023 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0006241/0.3106, allocations: 0.4903 MB / 0.5537 GB, free: 8.488 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3107, allocations: 8.031 kB / 0.5537 GB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/0.3107, allocations: 27.7 kB / 0.5537 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.3111, allocations: 259 kB / 0.5539 GB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.3111, allocations: 7.609 kB / 0.5539 GB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.3111, allocations: 12 kB / 0.554 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002283/0.3114, allocations: 120.8 kB / 0.5541 GB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.3116, allocations: 150.5 kB / 0.5542 GB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3117, allocations: 0 / 0.5542 GB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.3117, allocations: 3.906 kB / 0.5542 GB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3117, allocations: 4 kB / 0.5542 GB, free: 7.867 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.3129, allocations: 0.7671 MB / 0.555 GB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.313, allocations: 53.56 kB / 0.555 GB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.011e-05/0.3131, allocations: 36.86 kB / 0.5551 GB, free: 6.938 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.3132, allocations: 0 / 0.5551 GB, free: 6.938 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.3132, allocations: 45 kB / 0.5551 GB, free: 6.887 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.3132, allocations: 0 / 0.5551 GB, free: 6.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001301/0.3145, allocations: 0.6004 MB / 0.5557 GB, free: 6.227 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.3145, allocations: 51.41 kB / 0.5557 GB, free: 6.164 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.3147, allocations: 173.8 kB / 0.5559 GB, free: 5.984 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.3147, allocations: 25.7 kB / 0.5559 GB, free: 5.953 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.998e-05/0.3148, allocations: 151.9 kB / 0.5561 GB, free: 5.801 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.3149, allocations: 59.11 kB / 0.5561 GB, free: 5.742 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.3149, allocations: 0 / 0.5561 GB, free: 5.742 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.315, allocations: 330.8 kB / 0.5564 GB, free: 5.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.3151, allocations: 51.94 kB / 0.5565 GB, free: 5.359 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.3152, allocations: 87.98 kB / 0.5566 GB, free: 5.258 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.3153, allocations: 63.38 kB / 0.5566 GB, free: 5.199 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3153, allocations: 0 / 0.5566 GB, free: 5.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003928/0.3157, allocations: 230.9 kB / 0.5569 GB, free: 4.961 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3157, allocations: 8 kB / 0.5569 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3158, allocations: 4.156 kB / 0.5569 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/0.316, allocations: 65.67 kB / 0.5569 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.3162, allocations: 39.92 kB / 0.557 GB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.3182, allocations: 2.661 MB / 0.5596 GB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.3184, allocations: 12.44 kB / 0.5596 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.3184, allocations: 8.203 kB / 0.5596 GB, free: 1.926 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.952e-05/0.3185, allocations: 110.3 kB / 0.5597 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.3185, allocations: 19.75 kB / 0.5597 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.3186, allocations: 25.59 kB / 0.5597 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3186, allocations: 4 kB / 0.5597 GB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3186, allocations: 192 / 0.5597 GB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3186, allocations: 11.89 kB / 0.5598 GB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.3189, allocations: 238.1 kB / 0.56 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3189, allocations: 0 / 0.56 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.516e-05/0.319, allocations: 19.98 kB / 0.56 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001748/0.3191, allocations: 69.61 kB / 0.5601 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3192, allocations: 0 / 0.5601 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/0.3211, allocations: 2.657 MB / 0.5627 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.3211, allocations: 11.98 kB / 0.5627 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004467/0.3216, allocations: 340.9 kB / 0.563 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.3216, allocations: 88.92 kB / 0.5631 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.3217, allocations: 7.891 kB / 0.5631 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.3219, allocations: 20.05 kB / 0.5631 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.3219, allocations: 7.984 kB / 0.5631 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.3219, allocations: 8 kB / 0.5631 GB, free: 13.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.73e-05/0.322, allocations: 131.3 kB / 0.5632 GB, free: 13.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004263/0.3225, allocations: 56 kB / 0.5633 GB, free: 13.81 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001227/0.3226, allocations: 103.2 kB / 0.5634 GB, free: 13.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004808/0.3231, allocations: 347.4 kB / 0.5637 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3231, allocations: 0 / 0.5637 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003483/0.3234, allocations: 279.9 kB / 0.564 GB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.3237, allocations: 20.17 kB / 0.564 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000758/0.3244, allocations: 340.7 kB / 0.5643 GB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/0.3248, allocations: 0.7612 MB / 0.5651 GB, free: 11.87 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3248, allocations: 0 / 0.5651 GB, free: 11.87 MB / 410.7 MB Notification: Performance of Templates: time 0.005029/0.3299, allocations: 2.473 MB / 0.5675 GB, free: 9.402 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches