Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.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.001375/0.001375, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001423/0.001423, allocations: 215 kB / 24.47 MB, free: 3.777 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.359/1.359, allocations: 207.7 MB / 235.3 MB, free: 9.789 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.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",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.001792/0.001792, allocations: 51.94 kB / 347.2 MB, free: 9.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2556, allocations: 49.15 MB / 396.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004454/0.2601, allocations: 3.624 MB / 400 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.2615, allocations: 0.8935 MB / 400.9 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002648/0.2618, allocations: 7.344 kB / 400.9 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.262, allocations: 94.5 kB / 401 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003642/0.2624, allocations: 188.8 kB / 401.2 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.2628, allocations: 141.5 kB / 401.3 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006457/0.2634, allocations: 0.6791 MB / 402 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.2637, allocations: 140.5 kB / 402.1 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002809/0.264, allocations: 267.5 kB / 402.4 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/0.2643, allocations: 245.7 kB / 402.6 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.187e-05/0.2644, allocations: 55.22 kB / 402.7 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.2645, allocations: 59.97 kB / 402.7 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.861e-05/0.2645, allocations: 135 kB / 402.9 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.2647, allocations: 259.2 kB / 403.1 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005973/0.2653, allocations: 0.6461 MB / 403.8 MB, free: 4.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2653, allocations: 0 / 403.8 MB, free: 4.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2654, allocations: 0 / 403.8 MB, free: 4.387 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.2654, allocations: 0 / 403.8 MB, free: 4.387 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001282/0.2666, allocations: 0.803 MB / 404.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2667, allocations: 13.2 kB / 404.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001261/0.2668, allocations: 113.6 kB / 404.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.2669, allocations: 74.39 kB / 404.8 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.2674, allocations: 318.2 kB / 405.1 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.2675, allocations: 39.81 kB / 405.1 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.541e-05/0.2675, allocations: 49.56 kB / 405.2 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007684/0.2683, allocations: 0.6457 MB / 405.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.2683, allocations: 2.172 kB / 405.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/0.2684, allocations: 25.44 kB / 405.8 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.2684, allocations: 13.09 kB / 405.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005759/0.2689, allocations: 340.4 kB / 406.2 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.2713, allocations: 1.538 MB / 407.7 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.2717, allocations: 261 kB / 408 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.2719, allocations: 126.9 kB / 408.1 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.2719, allocations: 4.125 kB / 408.1 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.2719, allocations: 42.23 kB / 408.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/0.272, allocations: 3.938 kB / 408.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001644/0.2736, allocations: 0.8179 MB / 409 MB, free: 1.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.2736, allocations: 86.67 kB / 409.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003783/0.274, allocations: 387.8 kB / 409.4 MB, free: 0.832 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.274, allocations: 35.48 kB / 409.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.2742, allocations: 298.3 kB / 409.8 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/0.2742, allocations: 123.6 kB / 409.9 MB, free: 468 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-05/0.2743, allocations: 75.14 kB / 410 MB, free: 420 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.376e-05/0.2744, allocations: 349.4 kB / 410.3 MB, free: 84 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.2746, allocations: 100.1 kB / 410.4 MB, free: 52 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.2749, allocations: 195.6 kB / 410.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004966/0.2754, allocations: 316.1 kB / 410.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2754, allocations: 1.406 kB / 410.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000855/0.2762, allocations: 454.4 kB / 411.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2762, allocations: 6.688 kB / 411.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.2763, allocations: 2.828 kB / 411.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003425/0.2766, allocations: 86.73 kB / 411.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.2769, allocations: 82.89 kB / 411.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/0.2796, allocations: 2.905 MB / 414.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.28, allocations: 25.11 kB / 414.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.28, allocations: 16.53 kB / 414.5 MB, free: 12.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000245/0.2803, allocations: 159.3 kB / 414.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.2804, allocations: 45.22 kB / 414.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.377e-05/0.2805, allocations: 45.94 kB / 414.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.2805, allocations: 7.469 kB / 414.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.2805, allocations: 2.406 kB / 414.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2805, allocations: 0 / 414.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.282, allocations: 0.8698 MB / 415.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.282, allocations: 0 / 415.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.2822, allocations: 52.03 kB / 415.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002827/0.2825, allocations: 84.47 kB / 415.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/0.2825, allocations: 14.83 kB / 415.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002625/0.2851, allocations: 2.903 MB / 418.6 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2851, allocations: 7.938 kB / 418.6 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.2862, allocations: 0.6163 MB / 419.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.2863, allocations: 38.36 kB / 419.3 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/0.2864, allocations: 6.125 kB / 419.3 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.2867, allocations: 30.72 kB / 419.3 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.2868, allocations: 28.67 kB / 419.4 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.2868, allocations: 14.75 kB / 419.4 MB, free: 8.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003371/0.2872, allocations: 273.2 kB / 419.6 MB, free: 8.105 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2872, allocations: 1.156 kB / 419.6 MB, free: 8.105 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006353/0.2878, allocations: 117.8 kB / 419.8 MB, free: 8.094 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001372/0.2892, allocations: 1.172 MB / 420.9 MB, free: 7.125 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009973/0.2902, allocations: 0.489 MB / 421.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.2902, allocations: 5.016 kB / 421.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006843/0.2909, allocations: 385.4 kB / 421.8 MB, free: 6.469 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005824/0.2915, allocations: 69.86 kB / 421.9 MB, free: 6.426 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006883/0.2983, allocations: 4.193 MB / 426.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.2987, allocations: 240.5 kB / 426.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002191/0.2989, allocations: 48.22 kB / 426.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.2991, allocations: 168.7 kB / 426.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of SimCode: time 8.31e-07/0.2991, allocations: 1.406 kB / 426.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04952/0.3487, allocations: 9.935 MB / 436.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.7, allocations: 3.859 kB / 436.5 MB, free: 9.711 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 16.275533154141158]