Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 97.75 kB / 21.95 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 214 kB / 25.26 MB, free: 3.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 207.7 MB / 236.1 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 55.92 kB / 348 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2594, allocations: 49.16 MB / 397.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.00336/0.2628, allocations: 2.509 MB / 399.6 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009679/0.2638, allocations: 0.7369 MB / 400.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.2639, allocations: 6.156 kB / 400.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.264, allocations: 59.03 kB / 400.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.2642, allocations: 92.72 kB / 400.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.2646, allocations: 124.5 kB / 400.7 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004151/0.265, allocations: 440.8 kB / 401.1 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.2653, allocations: 174.7 kB / 401.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.2655, allocations: 184.5 kB / 401.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.2657, allocations: 197.7 kB / 401.6 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.831e-05/0.2658, allocations: 45.12 kB / 401.7 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.346e-05/0.2659, allocations: 45.69 kB / 401.7 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.147e-05/0.2659, allocations: 106.6 kB / 401.8 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.2661, allocations: 176.2 kB / 402 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004948/0.2666, allocations: 0.4886 MB / 402.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2666, allocations: 1.734 kB / 402.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2666, allocations: 4 kB / 402.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.2666, allocations: 0 / 402.5 MB, free: 5.605 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0009115/0.2675, allocations: 0.6223 MB / 403.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2676, allocations: 13.8 kB / 403.1 MB, free: 5.148 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.436e-05/0.2676, allocations: 15.56 kB / 403.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.263e-05/0.2676, allocations: 87.7 kB / 403.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.2677, allocations: 43.42 kB / 403.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.268, allocations: 220.9 kB / 403.5 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.268, allocations: 31.53 kB / 403.5 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.435e-05/0.268, allocations: 43.22 kB / 403.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006528/0.2687, allocations: 0.622 MB / 404.2 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.2687, allocations: 2.156 kB / 404.2 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.2688, allocations: 16.25 kB / 404.2 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.2688, allocations: 9.031 kB / 404.2 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004805/0.2693, allocations: 285.8 kB / 404.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.2708, allocations: 1.155 MB / 405.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000441/0.2712, allocations: 221.8 kB / 405.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003464/0.2716, allocations: 173.3 kB / 406 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.2716, allocations: 2.75 kB / 406 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.2716, allocations: 38.03 kB / 406.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.242e-06/0.2716, allocations: 0 / 406.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001321/0.2729, allocations: 489.3 kB / 406.5 MB, free: 3.066 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.273, allocations: 236.2 kB / 406.8 MB, free: 2.785 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.2732, allocations: 204.7 kB / 407 MB, free: 2.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.2732, allocations: 32.45 kB / 407 MB, free: 2.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.643e-05/0.2733, allocations: 204.1 kB / 407.2 MB, free: 2.449 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.2734, allocations: 100.8 kB / 407.3 MB, free: 2.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.733e-05/0.2734, allocations: 63.09 kB / 407.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.2735, allocations: 331.8 kB / 407.7 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.2736, allocations: 77.44 kB / 407.8 MB, free: 1.984 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.2739, allocations: 334.8 kB / 408.1 MB, free: 1.652 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008282/0.2747, allocations: 382.6 kB / 408.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2747, allocations: 1.156 kB / 408.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004316/0.2751, allocations: 280 kB / 408.7 MB, free: 1.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2751, allocations: 5.188 kB / 408.7 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2752, allocations: 5.25 kB / 408.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.2752, allocations: 2.438 kB / 408.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.2755, allocations: 82.16 kB / 408.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2755, allocations: 7.031 kB / 408.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.2757, allocations: 31.41 kB / 408.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.2757, allocations: 11.59 kB / 408.9 MB, free: 1.316 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real C1.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real 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 (38): * Single equations (assignments): 38 * 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 prepare postOptimizeDAE: time 0.0002281/0.2759, allocations: 162 kB / 409 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.276, allocations: 29.94 kB / 409.1 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.276, allocations: 32.39 kB / 409.1 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.276, allocations: 3.875 kB / 409.1 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.276, allocations: 1.531 kB / 409.1 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.276, allocations: 1.266 kB / 409.1 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008824/0.2769, allocations: 0.7142 MB / 409.8 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2769, allocations: 0 / 409.8 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.2772, allocations: 46.95 kB / 409.9 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002588/0.2774, allocations: 90.41 kB / 410 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.2774, allocations: 7.375 kB / 410 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.2793, allocations: 1.853 MB / 411.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2793, allocations: 1 kB / 411.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007775/0.2801, allocations: 0.502 MB / 412.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/0.2801, allocations: 28.92 kB / 412.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.2801, allocations: 7.266 kB / 412.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.2803, allocations: 11.38 kB / 412.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.64e-05/0.2804, allocations: 29.27 kB / 412.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.2804, allocations: 9.969 kB / 412.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.2805, allocations: 151.8 kB / 412.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2805, allocations: 1.125 kB / 412.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000396/0.2809, allocations: 109.1 kB / 412.7 MB, free: 14.58 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001109/0.282, allocations: 1.035 MB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004114/0.2825, allocations: 197.5 kB / 413.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2825, allocations: 0 / 413.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004448/0.2829, allocations: 274.9 kB / 414.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.2832, allocations: 23.42 kB / 414.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.2867, allocations: 2.875 MB / 417.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.2869, allocations: 178 kB / 417.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.842e-05/0.287, allocations: 30.92 kB / 417.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.2872, allocations: 108.6 kB / 417.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2872, allocations: 0 / 417.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.3184, allocations: 6.26 MB / 423.6 MB, free: 7.785 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.76, allocations: 15.77 kB / 423.6 MB, free: 7.77 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --stepSize=3.9984e-05 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.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: 14.326969209010713]