Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.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.001276/0.001276, allocations: 120.1 kB / 18.5 MB, free: 4.535 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.001609/0.001609, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.437/1.437, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.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.2282/0.2282, allocations: 46.92 MB / 357.7 MB, free: 10.16 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: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 75.88 kB / 0.4916 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1346, allocations: 66.05 MB / 0.5561 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003679/0.1383, allocations: 2.58 MB / 0.5587 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1393, allocations: 0.6739 MB / 0.5593 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.1394, allocations: 7.938 kB / 0.5593 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.1396, allocations: 39.62 kB / 0.5594 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.1397, allocations: 71.34 kB / 0.5594 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.14, allocations: 83.83 kB / 0.5595 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.1403, allocations: 290.8 kB / 0.5598 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.1404, allocations: 72.36 kB / 0.5599 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.1406, allocations: 131.5 kB / 0.56 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.1408, allocations: 115.5 kB / 0.5601 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.1409, allocations: 24 kB / 0.5601 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.499e-05/0.1409, allocations: 24 kB / 0.5601 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.253e-05/0.141, allocations: 55.83 kB / 0.5602 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.1411, allocations: 123.4 kB / 0.5603 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.1414, allocations: 294.8 kB / 0.5606 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1414, allocations: 3.984 kB / 0.5606 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1414, allocations: 0 / 0.5606 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.1414, allocations: 7.938 kB / 0.5606 GB, free: 0.9219 MB / 414.1 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.0007996/0.1422, allocations: 0.5377 MB / 0.5611 GB, free: 340 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1423, allocations: 8.031 kB / 0.5611 GB, free: 332 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.66e-05/0.1423, allocations: 8.625 kB / 0.5611 GB, free: 324 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/0.1423, allocations: 50.73 kB / 0.5612 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.1425, allocations: 44.72 kB / 0.5612 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.1428, allocations: 263.9 kB / 0.5615 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.1428, allocations: 12.81 kB / 0.5615 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.1429, allocations: 20.38 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.1433, allocations: 195.2 kB / 0.5617 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1433, allocations: 0 / 0.5617 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.1433, allocations: 11.98 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.1433, allocations: 4 kB / 0.5617 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.1436, allocations: 149.6 kB / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.1449, allocations: 0.8066 MB / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.1451, allocations: 94.47 kB / 0.5627 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.632e-05/0.1452, allocations: 40.84 kB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.1452, allocations: 4 kB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.1452, allocations: 38.56 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1452, allocations: 0 / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001742/0.1469, allocations: 0.7162 MB / 0.5635 GB, free: 13.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.147, allocations: 51.41 kB / 0.5636 GB, free: 13.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.1472, allocations: 218.9 kB / 0.5638 GB, free: 13.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.1472, allocations: 25.8 kB / 0.5638 GB, free: 13.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1473, allocations: 176 kB / 0.564 GB, free: 13.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.1474, allocations: 59.58 kB / 0.564 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-05/0.1475, allocations: 41.66 kB / 0.5641 GB, free: 13.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1476, allocations: 330.8 kB / 0.5644 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1477, allocations: 63.95 kB / 0.5644 GB, free: 12.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.1479, allocations: 105.1 kB / 0.5645 GB, free: 12.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.1482, allocations: 175.8 kB / 0.5647 GB, free: 12.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1482, allocations: 0 / 0.5647 GB, free: 12.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005374/0.1487, allocations: 278.9 kB / 0.565 GB, free: 12.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1488, allocations: 8 kB / 0.565 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1488, allocations: 0 / 0.565 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/0.149, allocations: 69.83 kB / 0.565 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.1492, allocations: 35.91 kB / 0.5651 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/0.1518, allocations: 3.025 MB / 0.568 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.1519, allocations: 11.98 kB / 0.568 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.754e-05/0.152, allocations: 4 kB / 0.568 GB, free: 8.645 MB / 430.1 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 () * Number of clocked 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 (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,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.1521, allocations: 145.7 kB / 0.5682 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.1522, allocations: 19.97 kB / 0.5682 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/0.1522, allocations: 29.86 kB / 0.5682 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1522, allocations: 0 / 0.5682 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1522, allocations: 0 / 0.5682 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1522, allocations: 4 kB / 0.5682 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.1526, allocations: 285.6 kB / 0.5685 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1526, allocations: 4 kB / 0.5685 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.701e-05/0.1527, allocations: 19.92 kB / 0.5685 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001991/0.1529, allocations: 73.67 kB / 0.5686 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1529, allocations: 4 kB / 0.5686 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002422/0.1553, allocations: 3.013 MB / 0.5715 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1553, allocations: 0 / 0.5715 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006383/0.1559, allocations: 388.8 kB / 0.5719 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.61e-05/0.156, allocations: 101.1 kB / 0.572 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.156, allocations: 4 kB / 0.572 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.1562, allocations: 11.98 kB / 0.572 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.1562, allocations: 19.97 kB / 0.5721 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.1563, allocations: 4 kB / 0.5721 GB, free: 4.156 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.1564, allocations: 152.6 kB / 0.5722 GB, free: 4.008 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1564, allocations: 0 / 0.5722 GB, free: 4.008 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003448/0.1568, allocations: 68 kB / 0.5723 GB, free: 3.941 MB / 430.1 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 () * Number of clocked 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 (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,5,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.0009397/0.1577, allocations: 0.9223 MB / 0.5732 GB, free: 2.984 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006579/0.1584, allocations: 397.1 kB / 0.5735 GB, free: 2.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1584, allocations: 3.938 kB / 0.5735 GB, free: 2.566 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004386/0.1588, allocations: 329.6 kB / 0.5739 GB, free: 2.219 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.1591, allocations: 24.28 kB / 0.5739 GB, free: 2.199 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.1624, allocations: 2.491 MB / 0.5763 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.1628, allocations: 0.744 MB / 0.577 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.871e-05/0.1629, allocations: 21.94 kB / 0.5771 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.163, allocations: 67.41 kB / 0.5771 GB, free: 14.73 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.163, allocations: 0 / 0.5771 GB, free: 14.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.1922, allocations: 5.086 MB / 0.5821 GB, free: 9.781 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10/10.19, allocations: 8.578 kB / 0.5821 GB, free: 9.773 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/SingularTransformer/SingularTransformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.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: 13.49812840798404]