Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00096/0.0009601, allocations: 95.17 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001068, allocations: 201.5 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.223/1.223, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001924/0.0001924, allocations: 8 kB / 307.8 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0827/0.0829, allocations: 51.52 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004353/0.08729, allocations: 4.896 MB / 364.3 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1653/0.2526, allocations: 9.127 MB / 373.4 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005339/0.2532, allocations: 19.97 kB / 373.4 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.2542, allocations: 344.2 kB / 373.7 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.2562, allocations: 0.6936 MB / 374.4 MB, free: 9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.2576, allocations: 481.3 kB / 374.9 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00212/0.2597, allocations: 1.671 MB / 376.6 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.26, allocations: 150.3 kB / 376.7 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003365/0.2603, allocations: 294.3 kB / 377 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.2606, allocations: 307.2 kB / 377.3 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.2607, allocations: 15.97 kB / 377.3 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.2618, allocations: 0.6539 MB / 378 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/0.2619, allocations: 86.91 kB / 378.1 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002602/0.2622, allocations: 415.3 kB / 378.5 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.2633, allocations: 1.167 MB / 379.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2633, allocations: 0 / 379.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2633, allocations: 1.469 kB / 379.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.966e-06/0.2633, allocations: 0 / 379.6 MB, free: 8.062 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.00129/0.2646, allocations: 1.152 MB / 380.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.2647, allocations: 14.16 kB / 380.8 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.459e-05/0.2647, allocations: 60.16 kB / 380.9 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.265, allocations: 127.9 kB / 381 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009461/0.2659, allocations: 0.8474 MB / 381.8 MB, free: 6.812 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.266, allocations: 21.31 kB / 381.9 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.266, allocations: 33.31 kB / 381.9 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004425/0.2665, allocations: 310.1 kB / 382.2 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2665, allocations: 0 / 382.2 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.2665, allocations: 9.5 kB / 382.2 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.2665, allocations: 9.766 kB / 382.2 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/0.2669, allocations: 237.5 kB / 382.4 MB, free: 6.742 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.2683, allocations: 1.193 MB / 383.6 MB, free: 6.301 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.2686, allocations: 203.3 kB / 383.8 MB, free: 6.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.2689, allocations: 220.6 kB / 384 MB, free: 6.254 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006361/0.2753, allocations: 8.904 MB / 392.9 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.2753, allocations: 38.75 kB / 393 MB, free: 14.04 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 3.146e-06/0.2753, allocations: 5.156 kB / 393 MB, free: 14.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.001479/0.2768, allocations: 0.6706 MB / 393.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.2769, allocations: 83.22 kB / 393.7 MB, free: 13.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000847/0.2777, allocations: 0.7972 MB / 394.5 MB, free: 13.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.2778, allocations: 30.64 kB / 394.6 MB, free: 13.26 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.2781, allocations: 443.6 kB / 395 MB, free: 12.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.819e-05/0.2781, allocations: 74.56 kB / 395.1 MB, free: 12.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.2782, allocations: 29.39 kB / 395.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.11e-05/0.2783, allocations: 320 kB / 395.4 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.2784, allocations: 67.03 kB / 395.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.2786, allocations: 155 kB / 395.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.279, allocations: 232.9 kB / 395.9 MB, free: 12.17 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.279, allocations: 4.844 kB / 395.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005692/0.2795, allocations: 411.7 kB / 396.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2796, allocations: 5.969 kB / 396.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/0.2796, allocations: 21.36 kB / 396.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00033/0.2799, allocations: 141.3 kB / 396.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.2801, allocations: 38.66 kB / 396.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005538/0.2807, allocations: 0.7048 MB / 397.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.2809, allocations: 29.89 kB / 397.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.281, allocations: 16.06 kB / 397.2 MB, free: 11.25 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (16): * Single equations (assignments): 15 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002158/0.2812, allocations: 203 kB / 397.4 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.2813, allocations: 104.1 kB / 397.5 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007608/0.2821, allocations: 415.2 kB / 397.9 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.2821, allocations: 9.297 kB / 397.9 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2821, allocations: 1.375 kB / 397.9 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2821, allocations: 0 / 397.9 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005588/0.2827, allocations: 0.502 MB / 398.4 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.028e-05/0.2827, allocations: 16.56 kB / 398.5 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.2828, allocations: 21.53 kB / 398.5 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002584/0.2831, allocations: 131.7 kB / 398.6 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.2831, allocations: 9.062 kB / 398.6 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005432/0.2837, allocations: 0.7059 MB / 399.3 MB, free: 9.695 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2837, allocations: 5.375 kB / 399.3 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/0.2842, allocations: 464.2 kB / 399.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.2844, allocations: 171.7 kB / 399.9 MB, free: 9.234 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.621e-05/0.2845, allocations: 5.406 kB / 399.9 MB, free: 9.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.2847, allocations: 7.922 kB / 400 MB, free: 9.227 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.2848, allocations: 20.02 kB / 400 MB, free: 9.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.2848, allocations: 8.094 kB / 400 MB, free: 9.215 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006015/0.2854, allocations: 0.5451 MB / 400.5 MB, free: 8.891 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2854, allocations: 0 / 400.5 MB, free: 8.891 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006786/0.2861, allocations: 195.5 kB / 400.7 MB, free: 8.859 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001234/0.2874, allocations: 1.185 MB / 401.9 MB, free: 7.988 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005166/0.2879, allocations: 280.5 kB / 402.2 MB, free: 7.836 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2879, allocations: 5.188 kB / 402.2 MB, free: 7.832 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.2882, allocations: 179.8 kB / 402.4 MB, free: 7.719 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007735/0.289, allocations: 156.7 kB / 402.5 MB, free: 7.637 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008079/0.2971, allocations: 5.898 MB / 408.4 MB, free: 3.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.2975, allocations: 0.9371 MB / 409.3 MB, free: 2.465 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003765/0.2979, allocations: 106.7 kB / 409.5 MB, free: 2.355 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.2982, allocations: 311.3 kB / 409.8 MB, free: 2.051 MB / 318.1 MB Notification: Performance of SimCode: time 7.32e-07/0.2982, allocations: 4 kB / 409.8 MB, free: 2.047 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03081/0.329, allocations: 17.54 MB / 427.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/0.3293, allocations: 226.6 kB / 427.5 MB, free: 468 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/2.324, allocations: 0 / 427.5 MB, free: 468 kB / 334.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_CascodeCircuit_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Electrical_Spice3_Examples_CascodeCircuit.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches