Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001673/0.001673, allocations: 178.2 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001055/0.001055, allocations: 97.05 kB / 270.9 MB, free: 8.352 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.4097/0.4097, allocations: 43.55 MB / 362.7 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000548/0.0005481, allocations: 8 kB / 431.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1463, allocations: 58.86 MB / 490.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007723/0.1541, allocations: 6.659 MB / 496.9 MB, free: 4.285 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006304/0.1604, allocations: 2.159 MB / 499.1 MB, free: 2.117 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.1621, allocations: 27.94 kB / 499.1 MB, free: 2.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.1636, allocations: 266.5 kB / 499.4 MB, free: 1.828 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003347/0.1669, allocations: 0.7425 MB / 0.4884 GB, free: 1.082 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002391/0.1693, allocations: 0.7406 MB / 0.4891 GB, free: 348 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.2333/0.4026, allocations: 1.294 MB / 0.4904 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004088/0.4068, allocations: 1.518 MB / 0.4918 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.4081, allocations: 0.5048 MB / 0.4923 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.4096, allocations: 0.6392 MB / 0.493 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003963/0.41, allocations: 57.97 kB / 0.493 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.411, allocations: 261.4 kB / 0.4933 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002243/0.4113, allocations: 236.4 kB / 0.4935 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003781/0.4117, allocations: 241.4 kB / 0.4937 GB, free: 34.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.4134, allocations: 1.32 MB / 0.495 GB, free: 34.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4134, allocations: 0 / 0.495 GB, free: 34.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4134, allocations: 1.281 kB / 0.495 GB, free: 34.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.393e-05/0.4135, allocations: 0 / 0.495 GB, free: 34.64 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.006702/0.4202, allocations: 2.171 MB / 0.4971 GB, free: 33.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.4202, allocations: 13.33 kB / 0.4971 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009536/0.4298, allocations: 1.503 MB / 0.4986 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.4312, allocations: 0.6055 MB / 0.4992 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.43e-05/0.4313, allocations: 109.8 kB / 0.4993 GB, free: 33.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.4315, allocations: 129.8 kB / 0.4994 GB, free: 33.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/0.434, allocations: 1.532 MB / 0.5009 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.596e-05/0.4341, allocations: 3.297 kB / 0.5009 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.4342, allocations: 55.69 kB / 0.501 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/0.4342, allocations: 35.19 kB / 0.501 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.4368, allocations: 1.588 MB / 0.5026 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007171/0.444, allocations: 5.581 MB / 0.508 GB, free: 31.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/0.446, allocations: 2.368 MB / 0.5103 GB, free: 29.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008384/0.4469, allocations: 0.672 MB / 0.511 GB, free: 29.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.447, allocations: 104.5 kB / 0.5111 GB, free: 29.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.447, allocations: 48.06 kB / 0.5111 GB, free: 29.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=129): time 4.047e-06/0.447, allocations: 0 / 0.5111 GB, free: 29.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.008201/0.4552, allocations: 3.124 MB / 0.5142 GB, free: 28.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.4553, allocations: 95.2 kB / 0.5143 GB, free: 28.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/0.4558, allocations: 478.1 kB / 0.5147 GB, free: 27.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.633e-05/0.4559, allocations: 50.61 kB / 0.5148 GB, free: 27.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.4561, allocations: 483.2 kB / 0.5152 GB, free: 27.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.4563, allocations: 431.3 kB / 0.5157 GB, free: 27.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.4564, allocations: 26.38 kB / 0.5157 GB, free: 27.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4565, allocations: 384.6 kB / 0.516 GB, free: 26.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007206/0.4573, allocations: 476.4 kB / 0.5165 GB, free: 26.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008146/0.4581, allocations: 0.7465 MB / 0.5172 GB, free: 26.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008188/0.4589, allocations: 0.5341 MB / 0.5178 GB, free: 25.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.4589, allocations: 3.188 kB / 0.5178 GB, free: 25.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002494/0.4614, allocations: 1.646 MB / 0.5194 GB, free: 25.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.4615, allocations: 9.75 kB / 0.5194 GB, free: 25.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.4615, allocations: 6.281 kB / 0.5194 GB, free: 25.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.4629, allocations: 0.532 MB / 0.5199 GB, free: 24.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007297/0.4636, allocations: 216.9 kB / 0.5201 GB, free: 24.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006065/0.4697, allocations: 4.698 MB / 0.5247 GB, free: 21.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008947/0.4706, allocations: 133.7 kB / 0.5248 GB, free: 21.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.848e-05/0.4707, allocations: 52.97 kB / 0.5249 GB, free: 21.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of prepare postOptimizeDAE: time 0.0005006/0.4712, allocations: 280.8 kB / 0.5251 GB, free: 21.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.4714, allocations: 85.09 kB / 0.5252 GB, free: 21.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/0.4737, allocations: 1.596 MB / 0.5268 GB, free: 20.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.4738, allocations: 11.81 kB / 0.5268 GB, free: 20.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.4738, allocations: 2.516 kB / 0.5268 GB, free: 20.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.4738, allocations: 6.891 kB / 0.5268 GB, free: 20.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0039/0.4777, allocations: 2.924 MB / 0.5297 GB, free: 19.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.4777, allocations: 5.703 kB / 0.5297 GB, free: 19.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005844/0.4783, allocations: 143.8 kB / 0.5298 GB, free: 19.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/0.4796, allocations: 0.519 MB / 0.5303 GB, free: 19.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.696e-05/0.4797, allocations: 32.3 kB / 0.5303 GB, free: 19.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006311/0.486, allocations: 4.685 MB / 0.5349 GB, free: 16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4861, allocations: 10.94 kB / 0.5349 GB, free: 16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003707/0.4898, allocations: 2.317 MB / 0.5372 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004523/0.4902, allocations: 285.3 kB / 0.5375 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.947e-05/0.4903, allocations: 21.22 kB / 0.5375 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006048/0.491, allocations: 56.28 kB / 0.5375 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002529/0.4912, allocations: 108.5 kB / 0.5376 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.917e-05/0.4913, allocations: 38.05 kB / 0.5377 GB, free: 14.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004049/0.4917, allocations: 312.1 kB / 0.538 GB, free: 14.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4917, allocations: 0 / 0.538 GB, free: 14.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0014/0.4931, allocations: 420.8 kB / 0.5384 GB, free: 14.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002772/0.4934, allocations: 164.3 kB / 0.5385 GB, free: 14.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003575/0.497, allocations: 1.868 MB / 0.5403 GB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.497, allocations: 3.938 kB / 0.5403 GB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002188/0.4992, allocations: 1.239 MB / 0.5416 GB, free: 12.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007519/0.5, allocations: 101 kB / 0.5417 GB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/0.5038, allocations: 2.646 MB / 0.5442 GB, free: 11.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/0.5045, allocations: 1.089 MB / 0.5453 GB, free: 10.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/0.5048, allocations: 70.98 kB / 0.5454 GB, free: 10.28 MB / 378.7 MB Notification: Performance of SimCode: time 8.21e-07/0.5048, allocations: 0 / 0.5454 GB, free: 10.28 MB / 378.7 MB Notification: Performance of Templates: time 0.02156/0.5263, allocations: 18.2 MB / 0.5631 GB, free: 13.29 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches